fn main() {
    let novel = String::from("Call me Ishmael. Some years ago...");
    let first_sentence = novel.split(".").next().expect("Could not find a '.'");

    let i = ImportantExcerpt{
        part: first_sentence
    };

    println!("{}", i.part);
}

#[derive(Debug)]
struct ImportantExcerpt<'x>{
    part: &'x str,
}
